Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

/*
* [M5-UniSphere-3D]
* * Copyright (c) 2026 Yuikawa-Akira
* This software includes code from : https://github.com/K-Yama2010/3D_Sphere_Pong_Wars
* Copyright (c) 2025 K-Yama2010
* * Released under the MIT License.
*/
#include <M5Unified.h>
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="Scripts/jquery-1.9.1.min.js"></script>
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<script src="Scripts/isRockFx.js"></script>
<script>
$(function () {
@FoushWare
FoushWare / cleanup.sh
Created April 5, 2026 15:19
macOS Developer Cleanup Script — free up space from caches, editors & dev tools
#!/bin/bash
# ============================================================
# 🧹 macOS Developer Cleanup Script — v4.1
#
# WHAT THIS SCRIPT DOES:
# Scans your Mac for caches, logs, orphaned editor configs,
# and dev tool leftovers — then lets you choose what to
# delete interactively, with real-time progress feedback.
#